

//全局数据
G = {
    isLocal             : false,                         //本地
    netWork             : null,                         //socket对象
    ip                  : '192.168.1.7',                //本地ip
    ip_line             : '182.92.148.153',             //线上ip
    port                : 8600,                         //大厅端口
};

//通用方法
G.comFunc = {};

/**
    客户端之间的消息通信协议
 */
var CLIENT_NOTIFY_TYPE = {};

CLIENT_NOTIFY_TYPE.CONNECT_SUCCESS = "connect_success";                //网络连接成功
CLIENT_NOTIFY_TYPE.CONNECT_DISCONNECT = "connect_discoontent";         //网络断开
CLIENT_NOTIFY_TYPE.TIP = "tip";                                        //提示
CLIENT_NOTIFY_TYPE.TIPPANEL = "tippanel";                              //提示面版
CLIENT_NOTIFY_TYPE.LOGIN_RESPONSE = "login_response";                  //登录游戏
CLIENT_NOTIFY_TYPE.GOTOLOGIN = "gotologin";                            //注册成功去登录

CLIENT_NOTIFY_TYPE.SUB_GP_GET_LIST_REQ = "SUB_GP_GET_LIST_REQ";        //获取游戏列表返回
